n=int(input())
print(sum(n for n in range(1,n) if n&1==0))